﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Activation;
using System.Text;
using MobileStore.Domain;
using MobileStore.Domain.DataServiceReference;

namespace MobileStore.Service
{
    [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
    public class Service : IService
    {
        private CommonDomain commonDomain = new CommonDomain();

        public Car[] GetCars()
        {
            return commonDomain.GetCars();
        }
    }
}
